<template>
	<div>this is 测试1--</div>
</template>
<script setup lang="ts" name="test_test1">
import { onMounted } from "vue";
import Test from "/@/api/Test";
let test1 = async () => {
	let res = await Test.test1();
	console.log("🚀====debug==== ~ test1 ~ res:", res);
	let param = {
		name: "test2，张三",
		age: 18,
		info: {
			height: 180,
			weight: 120,
		},
	};
	let res2 = await Test.test2(param);
	console.log("🚀====debug==== ~ test1 ~ res2:", res2);
};
onMounted(() => {
	test1();
});
</script>
